/**
 * huize Service Inc
 * All Rights Reserved @2018
 */
package com.huize.ladon.apm.common.domain;

import lombok.Data;

/**
 * 描述: 消息序列化包装类
 *
 * @author tianyuliang
 * @version $Id: SerializerWrapper.java, v0.1 2019/4/1
 */
@Data
public class SerializerWrapper {

    /**
     * 消息类型
     */
    private byte messageType;

    /**
     * 消息主体内容
     */
    private byte[] body;

    public SerializerWrapper(byte messageType, byte[] body) {
        this.messageType = messageType;
        this.body = body;
    }
}
